Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement python -m filprofiler. #84

Merged
merged 2 commits into from
Oct 7, 2020
Merged

Implement python -m filprofiler. #84

merged 2 commits into from
Oct 7, 2020

Conversation

itamarst
Copy link
Collaborator

@itamarst itamarst commented Oct 6, 2020

Fixes #82

As of version 0.11, you can also run it like this:

```
$ python -m filprofiler run yourscript.py --input-file=yourfile

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@itamarst thanks you very much for the change, a small question can the default be without the run word?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly no, because then it'll be hard to add additional commands. For example, I want things like fil-profile run-again, which runs the last command again and then shows you the difference in memory usage.

@itamarst itamarst merged commit b034570 into master Oct 7, 2020
@itamarst itamarst deleted the 82-minus-m branch October 7, 2020 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to run filprofiler as a module
2 participants